const guards: Record<string, { default: any }> = import.meta.glob('./modules/**/*', {
  eager: true,
});

export function setUpRouterGuards() {
  for (const key in guards) {
    guards[key].default();
  }
}
